let userinfo  = require("../model/userinfo");
module.exports = {
    add:(userinfoa)=>{
        console.log(userinfoa)
        return userinfo.insertMany([userinfoa]);
    },
    query:(info)=>{
        return userinfo.find(info);
    },
    insertmany:(data)=>{
        return userinfo.insertMany(data)
    },
}